package com.sharecar.request;

import java.io.Serializable;

import com.android.sharecar.model.OnlineUser;
import com.android.sharecar.model.PickRideRequestMsg;

/**
 * This class encapsulates the client's request to PickRideRequestMsgService.
 * @author xinyan
 *
 */
public class PickRideRequestMsgRequest extends Request implements Serializable {
	private static final long serialVersionUID = 7L;

	public static final int INSERT_A_REQUEST = 1;
	public static final int SELECT_AROUND_USERS_REQUEST = 2;

	private OnlineUser user;
	private PickRideRequestMsg msg;

	public PickRideRequestMsgRequest(int type) {
		this.requestType = type;
	}

	public OnlineUser getUser() {
		return user;
	}

	public void setUser(OnlineUser user) {
		this.user = user;
	}

	public PickRideRequestMsg getMsg() {
		return msg;
	}

	public void setMsg(PickRideRequestMsg msg) {
		this.msg = msg;
	}
}
